﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Domain.Car
{
    /// <summary>
    /// 车间表
    /// </summary>
    public  class CarModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 车间主键
        /// </summary>
        public int CarId { get; set; }
        /// <summary>
        /// 车间编号
        /// </summary>
        public string CarCode { get; set; }
        /// <summary>
        /// 车间名称
        /// </summary>
        public string CarName { get; set; }
        /// <summary>
        /// 车间面积
        /// </summary>
        public string CarArea { get; set; }
        /// <summary>
        /// 负责人 
        /// </summary>
        public string Leader { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel {  get; set; }=false;
    }
}
